package com.vcg.java.demo;

import org.junit.Test;

import java.util.Properties;
import java.util.Set;

/**
 * Created by wuyu on 2016/9/6.
 */

public class SystemPropertiesTest {

    @Test
    public void testGetClasspath(){
        Properties properties = System.getProperties();
        Set<Object> objects = properties.keySet();
        for (Object obj:objects) {
            System.err.println(obj.toString()+"="+properties.get("java.class.path"));
        }
    }
}
